// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.

import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:my_app_01/main.dart';
import 'package:my_app_01/utils/index.dart';
import 'package:my_app_01/utils/money.dart';

void main() {
  testWidgets('Counter increments smoke test', (WidgetTester tester) async {
    // print(MoneyUtils.amountFormat("5715*/89596.56"));


    var numberReg = RegExp(r'[^\d+\-Ee.]');
    var number = "5715*/89596.56";
    number = number.replaceAll(numberReg, "");
    print(number);
  });
}
